projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1714d
)
notebook: Match horizontal and vertical code paths
author
Benjamin Otte
<otte@redhat.com>
Fri, 29 Apr 2011 09:04:01 +0000
(11:04 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 29 Apr 2011 09:05:37 +0000
(11:05 +0200)
I have no idea what this code does, but it looks better now. :o
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index b24a828b7df0744406062736dd9cb53c4998f3e9..b6ebff4f28701b1df970d297e5d1f0b3e3dab261 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-6175,7
+6175,7
@@
gtk_notebook_page_allocate (GtkNotebook *notebook,
* coordinate of the allocation too, to position it after
* the end of the overlap.
*/
- if (page != priv->cur_page && tab_overlap > tab_curvature)
+ if (page != priv->cur_page && tab_overlap > tab_curvature
+ MIN (tab_padding.top, tab_padding.bottom)
)
{
if (gtk_notebook_page_num (notebook, page->child) >
gtk_notebook_page_num (notebook, priv->cur_page->child))